package com.qdu.service;

import javax.mail.internet.MimeMessage;

import com.qdu.entity.Userinfo;
import com.qdu.entity.Validate;

public interface ValidateService {
	void sendPasswordResetEmail(MimeMessage email);
	int insertNewResetRecord(Validate validate, Userinfo users, String token);
    Validate findUserByResetToken(String token);
    boolean sendValidateLimitation(String email, long interval);
    boolean validateLimitation(String email, long interval, String token);
}
